﻿@model PageList<AccountLog>
<table class="table table-striped table-bordered table-hover table-fix table-manage">
    <thead>
        <tr>
            <th class="w100px" data-order="@nameof(AccountLog.Name)">姓名</th>
            <th class="w100px" data-order="@nameof(AccountLog.Phone)">手机</th>
            <th class="w100px" data-order="@nameof(AccountLog.Dept)">部门</th>
            <th class="w100px" data-order="@nameof(AccountLog.PointName)">稽查点</th>
            <th class="w100px" data-order="@nameof(AccountLog.OpType)">类型</th>
            <th class="w100px" data-order="@nameof(AccountLog.CreateTime)">操作时间</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var record in Model)
        {
            <tr class="cursor-pointer" data-url="@Url.Action("Details",new {id = record.Id})">

                <td class="">@record.Name</td>
                <td class="">@record.Phone</td>
                <td class="">@record.Dept</td>
                <td class="">@record.PointName</td>
                <td class="">@Html.BoolLabel(record.OpType == 0, record.OpTypeText, record.OpTypeText)</td>
                <td class="">@DateTimeHelper.FormatDateHasSecond(record.CreateTime)</td>
            </tr>
        }
    </tbody>
</table>
@Html.RenderPages(Model)